package 排序算法;

import java.util.Arrays;

/**
 * @Project: Data Structure and Algorithms
 * @Package: 排序
 * @ClassName: test
 * @Author: zhouyihe
 * @Date: 2025/10/23 22:15
 * @Description: dem
 */
public class test {
    public static void main(String[] args) {
        int[][] arr = {{4,7},{1,4}};
        Arrays.sort(arr,(a,b) -> a[0] - b[0]);
        System.out.println(Arrays.deepToString(arr));
    }
}
